package com.wekri.wechat4j.api.request;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author liuweiguo.
 */
@XmlRootElement(name = "xml")
public class WeChatRequest {
    private String ToUserName;
    private String FromUserName;
    private String CreateTime;
    private String MsgType;
    private String Event;
    private String EventKey;
    /**
     * 接收普通消息
     */
    private String MsgId;
    /**
     * 模板消息回调
     */
    private String MsgID;
    private String Content;
    private String Location_X;
    private String Location_Y;
    private String Scale;
    private String Label;
    private String Title;
    private String Description;
    private String Url;
    private String PicUrl;
    private String MediaId;
    /**
     * 语音格式，如amr，speex等
     */
    private String Format;
    private String Status;
    /**
     * 上报地理位置事件Latitude
     */
    private String Latitude;
    /**
     * 上报地理位置事件Longitude
     */
    private String Longitude;
    /**
     * 上报地理位置事件Precision
     */
    private String Precision;
    /**
     * 扫描带参数二维码事件Ticket
     */
    private String Ticket;
    /**
     * 视频消息 ThumbMediaId 视频消息缩略图的媒体id，可以调用多媒体文件下载接口拉取数据
     */
    private String ThumbMediaId;
    /**
     * 扫描信息
     */
    private ScanCodeInfo ScanCodeInfo;
    /**
     * 发送的图片信息
     */
    private SendPicsInfo SendPicsInfo;
    /**
     * 发送的位置信息
     */
    private SendLocationInfo SendLocationInfo;
    /**
     * 语音识别结果，UTF8编码
     */
    private String Recognition;
    /**
     * 菜单消息推送
     */
    private String bizmsgmenuid;

    private String AppId;
    private String PagePath;
    private String ThumbUrl;
    private String Encrypt;

    @XmlElement(name = "Format")
    public String getFormat() {
        return Format;
    }

    public void setFormat(String format) {
        Format = format;
    }

    @XmlElement(name = "PicUrl")
    public String getPicUrl() {
        return PicUrl;
    }

    public void setPicUrl(String picUrl) {
        PicUrl = picUrl;
    }

    @XmlElement(name = "MediaId")
    public String getMediaId() {
        return MediaId;
    }

    public void setMediaId(String mediaId) {
        MediaId = mediaId;
    }

    @XmlElement(name = "Title")
    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    @XmlElement(name = "Description")
    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    @XmlElement(name = "Url")
    public String getUrl() {
        return Url;
    }

    public void setUrl(String url) {
        Url = url;
    }

    @XmlElement(name = "Location_X")
    public String getLocation_X() {
        return Location_X;
    }

    public void setLocation_X(String location_X) {
        Location_X = location_X;
    }

    @XmlElement(name = "Location_Y")
    public String getLocation_Y() {
        return Location_Y;
    }

    public void setLocation_Y(String location_Y) {
        Location_Y = location_Y;
    }

    @XmlElement(name = "Scale")
    public String getScale() {
        return Scale;
    }

    public void setScale(String scale) {
        Scale = scale;
    }

    @XmlElement(name = "Label")
    public String getLabel() {
        return Label;
    }

    public void setLabel(String label) {
        Label = label;
    }

    @XmlElement(name = "MsgId")
    public String getMsgId() {
        return MsgId;
    }

    public void setMsgId(String msgId) {
        MsgId = msgId;
    }

    @XmlElement(name = "MsgID")
    public String getMsgID() {
        return MsgID;
    }

    public void setMsgID(String msgID) {
        MsgID = msgID;
    }

    @XmlElement(name = "ToUserName")
    public String getToUserName() {
        return ToUserName;
    }

    public void setToUserName(String toUserName) {
        ToUserName = toUserName;
    }

    @XmlElement(name = "FromUserName")
    public String getFromUserName() {
        return FromUserName;
    }

    public void setFromUserName(String fromUserName) {
        FromUserName = fromUserName;
    }

    @XmlElement(name = "CreateTime")
    public String getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(String createTime) {
        CreateTime = createTime;
    }

    @XmlElement(name = "MsgType")
    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

    @XmlElement(name = "Event")
    public String getEvent() {
        return Event;
    }

    public void setEvent(String event) {
        Event = event;
    }

    @XmlElement(name = "EventKey")
    public String getEventKey() {
        return EventKey;
    }

    public void setEventKey(String eventKey) {
        EventKey = eventKey;
    }

    @XmlElement(name = "Content")
    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    @XmlElement(name = "Status")
    public String getStatus() {
        return Status;
    }

    public void setStatus(String status) {
        Status = status;
    }

    @XmlElement(name = "Latitude")
    public String getLatitude() {
        return Latitude;
    }

    public void setLatitude(String latitude) {
        Latitude = latitude;
    }

    @XmlElement(name = "Longitude")
    public String getLongitude() {
        return Longitude;
    }

    public void setLongitude(String longitude) {
        Longitude = longitude;
    }

    @XmlElement(name = "Precision")
    public String getPrecision() {
        return Precision;
    }

    public void setPrecision(String precision) {
        Precision = precision;
    }

    @XmlElement(name = "Ticket")
    public String getTicket() {
        return Ticket;
    }

    public void setTicket(String ticket) {
        Ticket = ticket;
    }

    @XmlElement(name = "ThumbMediaId")
    public String getThumbMediaId() {
        return ThumbMediaId;
    }

    public void setThumbMediaId(String thumbMediaId) {
        ThumbMediaId = thumbMediaId;
    }

    @XmlElement(name = "ScanCodeInfo")
    public ScanCodeInfo getScanCodeInfo() {
        return ScanCodeInfo;
    }

    public void setScanCodeInfo(ScanCodeInfo scanCodeInfo) {
        ScanCodeInfo = scanCodeInfo;
    }

    @XmlElement(name = "SendPicsInfo")
    public SendPicsInfo getSendPicsInfo() {
        return SendPicsInfo;
    }

    public void setSendPicsInfo(SendPicsInfo sendPicsInfo) {
        SendPicsInfo = sendPicsInfo;
    }

    @XmlElement(name = "SendLocationInfo")
    public SendLocationInfo getSendLocationInfo() {
        return SendLocationInfo;
    }

    public void setSendLocationInfo(SendLocationInfo sendLocationInfo) {
        SendLocationInfo = sendLocationInfo;
    }

    @XmlElement(name = "Recognition")
    public String getRecognition() {
        return Recognition;
    }

    public void setRecognition(String recognition) {
        Recognition = recognition;
    }

    @XmlElement(name = "bizmsgmenuid")
    public String getBizmsgmenuid() {
        return bizmsgmenuid;
    }

    public void setBizmsgmenuid(String bizmsgmenuid) {
        this.bizmsgmenuid = bizmsgmenuid;
    }

    @XmlElement(name = "appId")
    public String getAppId() {
        return AppId;
    }

    public void setAppId(String appId) {
        AppId = appId;
    }

    @XmlElement(name = "PagePath")
    public String getPagePath() {
        return PagePath;
    }

    public void setPagePath(String pagePath) {
        PagePath = pagePath;
    }

    @XmlElement(name = "ThumbUrl")
    public String getThumbUrl() {
        return ThumbUrl;
    }

    public void setThumbUrl(String thumbUrl) {
        ThumbUrl = thumbUrl;
    }

    @XmlElement(name = "Encrypt")
    public String getEncrypt() {
        return Encrypt;
    }

    public void setEncrypt(String encrypt) {
        Encrypt = encrypt;
    }
}
